projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db1837
)
Make use of config.h files optional to allow third party build tools.
author
robertl
<robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 20 Jan 2010 20:22:20 +0000
(20:22 +0000)
committer
robertl
<robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 20 Jan 2010 20:22:20 +0000
(20:22 +0000)
gpsbabel/Makefile.in
patch
|
blob
|
history
gpsbabel/cet_util.h
patch
|
blob
|
history
gpsbabel/defs.h
patch
|
blob
|
history
gpsbabel/exif.c
patch
|
blob
|
history
gpsbabel/gbfile.h
patch
|
blob
|
history
gpsbabel/gbsleep.c
patch
|
blob
|
history
gpsbabel/jeeps/gpslibusb.c
patch
|
blob
|
history
gpsbabel/jeeps/gpsusbstub.c
patch
|
blob
|
history
diff --git
a/gpsbabel/Makefile.in
b/gpsbabel/Makefile.in
index 71ec94a6f4c0dd8dbe5525e51785132b7a94a037..75e0631d23fa47cfd9c48be91b011cf349ae21e0 100644
(file)
--- a/
gpsbabel/Makefile.in
+++ b/
gpsbabel/Makefile.in
@@
-35,7
+35,7
@@
OUTPUT_SWITCH=-o #
#DEBUGGING=-g $(EXTRA_DEBUGGING)
# add -DDEBUG_MEM to turn on memory allocation logging
GBCFLAGS=$(EXTRA_CFLAGS) $(DEBUGGING) -I. -I$(srcdir) \
- $(OPTIMIZATION) @CFLAGS@
+ $(OPTIMIZATION)
-DHAVE_CONFIG_H
@CFLAGS@
LDFLAGS=$(EXTRA_LDFLAGS) @LDFLAGS@
PREFIX=@prefix@
INSTALL_DIR=$(DESTDIR)/$(PREFIX)
diff --git
a/gpsbabel/cet_util.h
b/gpsbabel/cet_util.h
index 38941815732de3201fa7a62642aa73e54a7a13ce..1fc12062f5bbffebef1286548dd72959b0010109 100644
(file)
--- a/
gpsbabel/cet_util.h
+++ b/
gpsbabel/cet_util.h
@@
-24,7
+24,9
@@
#include <ctype.h>
#include <stdio.h>
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
#if HAVE_LIBEXPAT
# include <expat.h>
diff --git
a/gpsbabel/defs.h
b/gpsbabel/defs.h
index 0c15fa127998ed93966b0b92463e858481c2b1a6..24d39ce495fb7663bcf6f65b53784fbf8ef06f1a 100644
(file)
--- a/
gpsbabel/defs.h
+++ b/
gpsbabel/defs.h
@@
-25,7
+25,9
@@
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
#include "queue.h"
#include "gbtypes.h"
#if HAVE_LIBZ
diff --git
a/gpsbabel/exif.c
b/gpsbabel/exif.c
index 105a92498231146f5b7500bc43dea32c0c594690..23b29497e9578e2ba43309636954f2eaf7cc362d 100644
(file)
--- a/
gpsbabel/exif.c
+++ b/
gpsbabel/exif.c
@@
-26,7
+26,6
@@
#include <string.h>
#include "defs.h"
-#include "config.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
#include "strptime.h"
diff --git
a/gpsbabel/gbfile.h
b/gpsbabel/gbfile.h
index 639aa7bd4b6527966a34db0a26a5991dfe5e740d..432c44e6e0808f559110f17f14e2a72aa5099e8a 100644
(file)
--- a/
gpsbabel/gbfile.h
+++ b/
gpsbabel/gbfile.h
@@
-26,7
+26,6
@@
#include <ctype.h>
#include <stdarg.h>
#include <string.h>
-#include "config.h"
#include "defs.h"
#include "cet.h"
diff --git
a/gpsbabel/gbsleep.c
b/gpsbabel/gbsleep.c
index a4b9ed6be53c60d923c059ce4bf08017190ae147..63f1fa0ba64fbb47042cade4675736cd446fb197 100644
(file)
--- a/
gpsbabel/gbsleep.c
+++ b/
gpsbabel/gbsleep.c
@@
-18,7
+18,9
@@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
#if __WIN32__
diff --git
a/gpsbabel/jeeps/gpslibusb.c
b/gpsbabel/jeeps/gpslibusb.c
index 71710737dc1f01fe5d5f865853d775aed4eeab04..579b731ce03f43b0d4f07e3eadcde5ff0875945f 100644
(file)
--- a/
gpsbabel/jeeps/gpslibusb.c
+++ b/
gpsbabel/jeeps/gpslibusb.c
@@
-22,7
+22,9
@@
#include <stdio.h>
#include <ctype.h>
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
#if HAVE_LIBUSB
#include <usb.h>
#include "gps.h"
diff --git
a/gpsbabel/jeeps/gpsusbstub.c
b/gpsbabel/jeeps/gpsusbstub.c
index 060bab4222c86b174ed21d37d916443e4820c7c6..0838c1b5afa36240d7c46d240cf03109aa773f8e 100644
(file)
--- a/
gpsbabel/jeeps/gpsusbstub.c
+++ b/
gpsbabel/jeeps/gpsusbstub.c
@@
-20,8
+20,12
@@
*/
+#if HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include "../defs.h"
+
#if !HAVE_LIBUSB
const char no_usb[] = "USB support is not available in this build.\n";